package com.red.wood.module.eval.service.impl;

import java.util.List;
import java.util.Map;

import javax.transaction.Transactional;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.red.wood.common.util.IMap;
import com.red.wood.module.eval.dao.TaskAuditDao;
import com.red.wood.module.eval.service.TaskAuditService;

@Service
@Transactional
public class TaskAuditServiceImpl implements TaskAuditService{

	@Autowired
	private TaskAuditDao taskAuditDao;
	
	@Override
	public Map<String, Object> getPageData(Map<String, Object> param) {
		return taskAuditDao.getPageData(param);
	}

	@Override
	public void update(IMap paramMap) {
		taskAuditDao.update(paramMap);
	}

	@Override
	public void add(Map<String, Object> paramMap) {
		taskAuditDao.add(paramMap);
	}

	@Override
	public Map<String, Object> getBySingleTaskId(String singleTaskId) {
		return taskAuditDao.getBySingleTaskId(singleTaskId);
	}

	@Override
	public int getCountBySingleTaskId(String singleTaskId) {
		return taskAuditDao.getCountBySingleTaskId(singleTaskId);
	}

	@Override
	public List<Map<String, Object>> exportData(IMap param) {
		return taskAuditDao.exportData(param);
	}

}
